/********************************************************/
/*	Copyright (C) 2016 Gong Li Bin			*/
/*	Project:	GlbCloud			*/
/*	Author:		gong_libin			*/
/*	Date:		2012_01_10			*/
/*	File:		MrCdLock.h			*/
/********************************************************/

#ifndef _MRCDLOCK_H
#define	_MRCDLOCK_H

#include "MrLock.h"

class CMrCdLock : public CMrLock
{
public:
	CMrCdLock();
	virtual ~CMrCdLock();

	void MrCdLockWait();
	void MrCdLockSignal();

	//virtual void MrLockFree();
	virtual int MrLockDelete();
	virtual int MrLockMalloc(void* pLock);
	virtual int MrLockCreate(bool bShared);

private:
	pthread_cond_t m_stCond;

};

#endif /* _MRCDLOCK_H */
